SftTree/OCX 7.0

SftTree.CellEditLimit Property

Softel vdm, Inc.

Defines the maximum number of characters in an edit control or combo box during cell editing.

Deprecated - Provided for compatibility with earlier versions only - See Cell Editing
This property continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 7.0.

Syntax       

Get

VB.NET

NumChars = object.CellEditLimit  As Short

VB

NumChars = object.CellEditLimit  As Integer

C#.NET

short NumChars = object.CellEditLimit;

VC++

short NumChars = object->CellEditLimit;
short NumChars = object->GetCellEditLimit();

C

HRESULT object->get_CellEditLimit(short* NumChars);

Delphi

NumChars := object.CellEditLimit   : Smallint;

Put

VB.NET

object.CellEditLimit = NumChars  As Short

VB

object.CellEditLimit = NumChars  As Integer

C#.NET

short object.CellEditLimit = NumChars;

VC++

short object->CellEditLimit = NumChars;
void object->PutCellEditLimit(short NumChars);

C

HRESULT object->put_CellEditLimit(short NumChars);

Delphi

object.CellEditLimit := NumChars   : Smallint;

object

A SftTree object.

NumChars

Defines the maximum number of characters in an edit control or combo box during cell editing.  If 0 is specified, there is no maximum number.

Comments

The CellEditLimit property defines the maximum number of characters in an edit control or combo box during cell editing.

Deprecated - Provided for compatibility with earlier versions only - See Cell Editing
This property continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 7.0.

The limit defined using the CellEditLimit property defines how many characters can be entered into an edit control or combo box during cell editing.  The user will not be able to enter or paste more than the specified number of characters into the control. 

The CellEditLimit property is used for the edit control and combo box when editing cells using the StartEdit, StartComboEdit and StartCombo methods.  It is not used for cell editing started using the Cell.Edit method.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com